package dancetwotiktokmodelmysql

import (
	"gorm.io/gorm"
	"time"
)

// DanceActivitiesFragmentExchangeElement 碎片兑换散件
type DanceActivitiesFragmentExchangeElement struct {
	Id            int64          `gorm:"primaryKey;autoIncrement;comment:id" json:"id"`
	ExchangeNumId int64          `json:"exchangeNumId" gorm:"column:exchange_num_id;type:bigint;default:0;not null;comment:兑换数量id"` //兑换数量id
	ElementNo     int64          `json:"elementNo" gorm:"column:element_no;type:bigint;default:0;not null;comment:道具编号"`            // 道具编号
	ElementNum    int64          `json:"elementNum" gorm:"column:element_num;type:bigint;default:0;not null;comment:道具数量"`          // 道具数量
	EffectTime    int64          `json:"effectTime" gorm:"column:effect_time;type:bigint;default:0;not null;comment:时效"`              // 时效 ：小时
	CreatedId     int64          `json:"created_id" gorm:"column:created_id;type:bigint;default:0;not null;comment:创建人id"`           // 创建人id
	CreatedAt     time.Time      `json:"created_at" gorm:"column:created_at;type:datetime"`
	UpdatedAt     time.Time      `json:"updated_at" gorm:"column:updated_at;type:datetime"`
	DeletedAt     gorm.DeletedAt `gorm:"index;type:datetime" json:"-"`
}
